package com.tao.erp.procurement.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tao.erp.procurement.dao.OrderMapper;
import com.tao.erp.procurement.pojo.Order;
import com.tao.erp.procurement.service.OrderService;

@Service
public class OrderServiceImpl implements OrderService {

	@Autowired
	private OrderMapper orderMapper;
	
	@Override
	public List<Order> selectOrderList(Order order) {
		return orderMapper.selectOrderList(order);
	}

	@Override
	public Order selectOrderById(Integer uuid) {
		return orderMapper.selectOrderById(uuid);
	}

	@Override
	public int insertOrder(Order order) {
		return orderMapper.insertOrder(order);
	}

	@Override
	public int deleteOrderById(Integer uuid) {
		return orderMapper.deleteOrderById(uuid);
	}

	@Override
	public int updateOrder(Order order) {
		return orderMapper.updateOrder(order);
	}

}
